package com.front.managementfront.company.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.front.managementfront.company.entity.Company;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yck
 * @since 2021-05-20
 */
public interface ICompanyService extends IService<Company> {

        /**
         *  分页查询
         * @param bootStrapTable
         * @param company
         * @return
         */
        IPage<Company> selectPage(Page<Company> page, Company company);

        List<Company> selectList(Company company);
        }